package com.wanmait.baohan.service.Impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.baohan.mapper.StaffRoleMapper;
import com.wanmait.baohan.pojo.StaffRole;
import com.wanmait.baohan.service.StaffRoleService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
@Service
@Transactional(rollbackFor = Exception.class)
public class StaffRoleServiceImpl implements StaffRoleService {
    @Resource
    private StaffRoleMapper staffRoleMapper;
    @Override
    public void insertListStaffRole(List<StaffRole> staffRoles) {
        staffRoleMapper.insertListStaffRole(staffRoles);
    }

    @Override
    public void insert(StaffRole object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(StaffRole object) {

    }

    @Override
    public StaffRole findById(Integer id) {
        return null;
    }

    @Override
    public List<StaffRole> findAll() {
        return null;
    }

    @Override
    public List<StaffRole> findAll(StaffRole object) {
        return null;
    }

    @Override
    public PageInfo<StaffRole> findPage(int pageNum) {
        return null;
    }

    @Override
    public PageInfo<StaffRole> findPage() {
        return null;
    }

    @Override
    public PageInfo<StaffRole> findPage(int pageNum, StaffRole object) {
        return null;
    }

    @Override
    public PageInfo<StaffRole> findPage(StaffRole object) {
        return null;
    }
}
